import datetime
from dataclasses import dataclass

from poker_bot.core.models.enums.deposit import DepositStatus


@dataclass(frozen=True)
class DepositDTO:
    id: int
    status: DepositStatus
    summ: float
    user_id: int
    payment_method_id: int
    invoice_screenshot_path: str | None = None
    created_at: datetime.datetime | None = None


@dataclass(frozen=True)
class DepositWithDetailsDTO(DepositDTO):
    currency_symbol: str | None = None
